package cn.com.haopy.dataes.es;

import cn.easyes.starter.register.EsMapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages = {
        "cn.com.haopy.dataes.db",
        "cn.com.haopy.dataes.core",
        "cn.com.haopy.dataes.comm",
        "cn.com.haopy.dataes.es",
})
@EsMapperScan("cn.com.haopy.dataes.es.mapper")
@EnableSwagger2
public class EsApplication {
    public static void main(String[] args) {
        SpringApplication.run(EsApplication.class, args);
    }
}
